// 为了减少routerview的使用
// 尽量写入从/开始的顶级路由
const community_router  = [
    {
        path: "/community/index/rec",
        name: "community_index_rec",
        component: () => import("../components/community/render/render_index_rec.vue"),
    },
    {
        path: "/community/specialcolumn",
        name: "community_specialcolumn",
        component: () => import("../components/community/specialcolumn/layout.vue"),
    }, {
        path: "/community/mycommunity",
        name: "myadmin",
        meta: { requiresAuth: true },
        redirect: () => {
            return { name: "community_delivery", query: { redirect: 'mytext' } };
        }
    }, {
        path: "/community/deliver",
        name: "community_delivery",
        meta: { requiresAuth: true },
        component: () => import("../components/community/delivery/layout.vue"),
    }, {
        path: "/community/editor",
        name: "community_write",
        meta: { requiresAuth: true },
        component: () => import("../components/community/delivery/right/writer/layout.vue"),
    }, 
]

export default community_router 